Contents | Index | < Browse | Browse >

LETTERftellULETTER Returns the current file position.

Overview
#include <stdio.h>

r = ftell(f);

long r;
FILE *f;

Portability
ANSI

Description
"ftell" returns the current position of the byte cursor of the file referred to by "f" relative to the start of the file.

Returns
The current file position.